package gestionTransportObjetsGenerated;

/**
 * Holder class for : TypeEtat
 * 
 * @author OpenORB Compiler
 */
final public class TypeEtatHolder
        implements org.omg.CORBA.portable.Streamable
{
    /**
     * Internal TypeEtat value
     */
    public gestionTransportObjetsGenerated.TypeEtat value;

    /**
     * Default constructor
     */
    public TypeEtatHolder()
    { }

    /**
     * Constructor with value initialisation
     * @param initial the initial value
     */
    public TypeEtatHolder(gestionTransportObjetsGenerated.TypeEtat initial)
    {
        value = initial;
    }

    /**
     * Read TypeEtat from a marshalled stream
     * @param istream the input stream
     */
    public void _read(org.omg.CORBA.portable.InputStream istream)
    {
        value = TypeEtatHelper.read(istream);
    }

    /**
     * Write TypeEtat into a marshalled stream
     * @param ostream the output stream
     */
    public void _write(org.omg.CORBA.portable.OutputStream ostream)
    {
        TypeEtatHelper.write(ostream,value);
    }

    /**
     * Return the TypeEtat TypeCode
     * @return a TypeCode
     */
    public org.omg.CORBA.TypeCode _type()
    {
        return TypeEtatHelper.type();
    }

}
